//
//  SearchHeadView.h
//  MedicalCare
//
//  Created by lbh on 2021/10/11.
//  Copyright © 2021 hs. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void(^SearchHeadViewBlock)(NSInteger tag);//tag 0输入框内容 1清空 2取消 3搜索
@interface SearchHeadView : UIView<UITextFieldDelegate>
@property (nonatomic,strong)UIView *bgView;
@property (nonatomic,strong)UIView *searchBgView;
@property (nonatomic,strong)UIImageView *searchImageView;
@property (nonatomic,strong)UITextField *searchTextField;
@property (nonatomic,strong)UIButton *clearButton;
@property (nonatomic,strong)UIButton *cancelBtn;
@property (nonatomic,copy)SearchHeadViewBlock searchHeadViewBlock;
- (void)skTagTapMethod:(NSString *)tagStr;
@end

NS_ASSUME_NONNULL_END
